////////////////////////////////////////////////////////////////////////////////
// Copyright 2006 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   SO
// AUTHOR           :   Victor Zheng 
// DATE CREATE      :   2006/01/10
// DESCRIPTION      :   a VO file for the function, SO
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2006/01/10   Victor Zheng    1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.common.itemTask.vo;

import java.sql.Timestamp;

import com.erp.app.common.itemTask.pk.ItemTaskPk;
import com.erp.framework.model.pk.SimpleSearchMaintStylePk;
import com.erp.framework.model.vo.SimpleSearchMaintStyleVo;
import com.erp.framework.types.CustomBigInteger;
import com.erp.framework.types.CustomSqlDate;

/**
* <p>A <strong>VO</strong>(Value Object) is a JavaBean which provides property
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this class is to store the data retrieved from the database,
* and the converted data from the web browsers.
*
* @author          Victor Zheng 
* @version 1.0     2006/01/10
* @since           FrameWork 1.0
*
*/
public class ItemTaskVo extends SimpleSearchMaintStyleVo {

	//DB Table Name: T_ITEM_TASK

	//PK Attributes
	private String companyCode;						//DB Column Name: COMPANY_CODE
	private String documentNo;                      //DB Column Name: DOCUMENT_NO
	private String documentNo2;                      //DB Column Name: DOCUMENT_NO
	private String documentType;                    //DB Column Name: DOCUMENT_TYPE
	private CustomBigInteger taskLineNo;            //DB Column Name: LINE_NO

	//Other Attributes
	private String taskTaskCode;                    //DB Column Name: TASK_CODE
	private String taskTaskDesc;                    //DB Column Name: TASK_DESC
	private String taskUserGroup;                   //DB Column Name: USER_GROUP
	private CustomSqlDate taskDeadline;             //DB Column Name: DEADLINE
	private CustomSqlDate taskCompleteDate;         //DB Column Name: COMPLETE_DATE
	private String createUser;                      //DB Column Name: CREATE_USER
	private Timestamp createDate;                   //DB Column Name: CREATE_DATE
	private String updateUser;                      //DB Column Name: UPDATE_USER
	private Timestamp updateDate;                   //DB Column Name: UPDATE_DATE
	private String taskUserCode;                    //DB Column Name: USER_CODE
	private CustomSqlDate taskExpStartDate;         //DB Column Name: EXP_START_DATE
	private CustomSqlDate taskExpFinishDate;        //DB Column Name: EXP_FINISH_DATE
	private CustomBigInteger taskDuration;          //DB Column Name: DURATION
	private CustomBigInteger taskRefLineNo;         //DB Column Name: REF_LINE_NO
	private String taskRefDuration;                 //DB Column Name: REF_DURATION
	private String taskDcInd;                       //DB Column Name: DC_IND
	private CustomSqlDate taskDcDate;               //DB Column Name: DC_DATE
	private CustomSqlDate taskStartDate;            //DB Column Name: START_DATE
	private String taskVariations;                  //DB Column Name: VARIATIONS
	private String taskRemarks;                     //DB Column Name: REMARKS
	private String taskStatus;						//DB Column Name: STATUS
	private CustomBigInteger taskQty;
	private String taskSeq;
	private String taskTaskTmplCode;
	
	/**
	* Stores the detail child names by the fully-qualified java class path.
	*
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTypesName() {
		//this.childTypesName=new String[2];
		//this.childTypesName[0]="com.erp.app.form.beans.FormApprovalListVo";
		//this.childTypesName[1]="com.erp.app.form.beans.FormAttachmentVo";
	}

	/**
	* Stores the table schema name by the fully-qualified java class path.
	*
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	protected void setTableSchemaName() {
		this.tableSchemaName="com.erp.app.common.itemTask.schema.ItemTaskSchema";
	}

	/**
	* Stores the detail child table schema names by the fully-qualified java class path.
	*
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTableSchemaNames() {
		//this.childTableSchemaNames=new String[2];
		//this.childTableSchemaNames[0]="com.erp.app.form.beans.FormApprovalListSchema";
		//this.childTableSchemaNames[1]="com.erp.app.form.beans.FormAttachmentSchema";
	}

	/**
	* Stores the DAO name by the fully-qualified java class path.
	*
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	protected void setDaoName() {
		this.daoName="com.erp.app.common.itemTask.dao.ItemTaskDao";
	}

	/**
	* Returns the primary key for this class.
	* @return      primary key of this class
	*
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	public SimpleSearchMaintStylePk getSearchMaintStylePk() {
		return new ItemTaskPk(this.companyCode, this.documentNo, this.documentNo2, this.documentType, this.taskLineNo);
	}

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	public String toString() {
		String pkStr = "PK: {companyCode = " + this.companyCode
			+ "\n, documentNo = " + this.documentNo
			+ "\n, documentNo2 = " + this.documentNo2
			+ "\n, documentType = " + this.documentType
			+ "\n, taskLineNo = " + this.taskLineNo + "}\n";

		String colStr = "COL: {taskTaskCode = " + this.taskTaskCode
			+ "\n, taskTaskDesc = " + this.taskTaskDesc
			+ "\n, taskUserGroup = " + this.taskUserGroup
			+ "\n, taskDeadline = " + this.taskDeadline
			+ "\n, taskCompleteDate = " + this.taskCompleteDate
			+ "\n, createUser = " + this.createUser
			+ "\n, createDate = " + this.createDate
			+ "\n, updateUser = " + this.updateUser
			+ "\n, updateDate = " + this.updateDate
			+ "\n, taskUserCode = " + this.taskUserCode
			+ "\n, taskExpStartDate = " + this.taskExpStartDate
			+ "\n, taskExpFinishDate = " + this.taskExpFinishDate
			+ "\n, taskStartDate = " + this.taskStartDate
			+ "\n, taskVariations = " + this.taskVariations
			+ "\n, taskRemarks = " + this.taskRemarks
			+ "\n, taskDuration = " + this.taskDuration
			+ "\n, taskRefLineNo = " + this.taskRefLineNo
			+ "\n, taskRefDuration = " + this.taskRefDuration
			+ "\n, taskStatus = " + this.taskStatus
			+ "}\n";

		return "ItemTaskVo.toString() is:\n" + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	public String getCompanyCode() {
		return this.companyCode;
	}

	public String getDocumentNo() {
		return this.documentNo;
	}
	
	public String getDocumentNo2() {
		return this.documentNo2;
	}

	public String getDocumentType() {
		return this.documentType;
	}

	public CustomBigInteger getTaskLineNo() {
		return this.taskLineNo;
	}

	public String getTaskTaskCode() {
		return this.taskTaskCode;
	}

	public String getTaskTaskDesc() {
		return this.taskTaskDesc;
	}

	public String getTaskUserGroup() {
		return this.taskUserGroup;
	}

	public CustomSqlDate getTaskDeadline() {
		return this.taskDeadline;
	}

	public CustomSqlDate getTaskCompleteDate() {
		return this.taskCompleteDate;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public String getUpdateUser() {
		return this.updateUser;
	}

	public Timestamp getUpdateDate() {
		return this.updateDate;
	}

	public String getTaskUserCode() {
		return this.taskUserCode;
	}

	public CustomSqlDate getTaskExpStartDate() {
		return this.taskExpStartDate;
	}

	public CustomSqlDate getTaskExpFinishDate() {
		return this.taskExpFinishDate;
	}

	public CustomBigInteger getTaskDuration() {
		return this.taskDuration;
	}

	public CustomBigInteger getTaskRefLineNo() {
		return this.taskRefLineNo;
	}

	public String getTaskRefDuration() {
		return this.taskRefDuration;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public void setDocumentNo(String documentNo) {
		this.documentNo = documentNo;
	}
	
	public void setDocumentNo2(String documentNo2) {
		this.documentNo2 = documentNo2;
	}

	public void setDocumentType(String documentType) {
		this.documentType = documentType;
	}

	public void setTaskLineNo(CustomBigInteger taskLineNo) {
		this.taskLineNo = taskLineNo;
	}

	public void setTaskTaskCode(String taskTaskCode) {
		this.taskTaskCode = taskTaskCode;
	}

	public void setTaskTaskDesc(String taskTaskDesc) {
		this.taskTaskDesc = taskTaskDesc;
	}

	public void setTaskUserGroup(String taskUserGroup) {
		this.taskUserGroup = taskUserGroup;
	}

	public void setTaskDeadline(CustomSqlDate taskDeadline) {
		this.taskDeadline = taskDeadline;
	}

	public void setTaskCompleteDate(CustomSqlDate taskCompleteDate) {
		this.taskCompleteDate = taskCompleteDate;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}

	public void setTaskUserCode(String taskUserCode) {
		this.taskUserCode = taskUserCode;
	}

	public void setTaskExpStartDate(CustomSqlDate taskExpStartDate) {
		this.taskExpStartDate = taskExpStartDate;
	}

	public void setTaskExpFinishDate(CustomSqlDate taskExpFinishDate) {
		this.taskExpFinishDate = taskExpFinishDate;
	}

	public void setTaskDuration(CustomBigInteger taskDuration) {
		this.taskDuration = taskDuration;
	}

	public void setTaskRefLineNo(CustomBigInteger taskRefLineNo) {
		this.taskRefLineNo = taskRefLineNo;
	}

	public void setTaskRefDuration(String taskRefDuration) {
		this.taskRefDuration = taskRefDuration;
	}

	public CustomSqlDate getTaskDcDate() {
		return taskDcDate;
	}

	public void setTaskDcDate(CustomSqlDate taskDcDate) {
		this.taskDcDate = taskDcDate;
	}

	public String getTaskDcInd() {
		return taskDcInd;
	}

	public void setTaskDcInd(String taskDcInd) {
		this.taskDcInd = taskDcInd;
	}

	public CustomSqlDate getTaskStartDate() {
		return taskStartDate;
	}

	public void setTaskStartDate(CustomSqlDate taskStartDate) {
		this.taskStartDate = taskStartDate;
	}

	public String getTaskRemarks() {
		return taskRemarks;
	}

	public void setTaskRemarks(String taskRemarks) {
		this.taskRemarks = taskRemarks;
	}

	public String getTaskVariations() {
		return taskVariations;
	}

	public void setTaskVariations(String taskVariations) {
		this.taskVariations = taskVariations;
	}

	public String getTaskStatus() {
		return taskStatus;
	}

	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}

	public CustomBigInteger getTaskQty() {
		return taskQty;
	}

	public void setTaskQty(CustomBigInteger taskQty) {
		this.taskQty = taskQty;
	}

	public String getTaskSeq() {
		return taskSeq;
	}

	public void setTaskSeq(String taskSeq) {
		this.taskSeq = taskSeq;
	}

	public String getTaskTaskTmplCode() {
		return taskTaskTmplCode;
	}

	public void setTaskTaskTmplCode(String taskTaskTmplCode) {
		this.taskTaskTmplCode = taskTaskTmplCode;
	}
	
	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}